package cn.net.csit.platform_cloud.utils;

/**
 * @title: BaseResult
 * @Description: 返回数据的格式定义
 * @Author yanbingtai
 * @Date 2019/4/1 14:25
 */
public class BaseResult<T> {

    private Integer code;

    private Integer status;

    private String msg;

    private T data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}

